package com.hoozhi.education.entity;

import java.util.Set;

/**
 * 教师实体类,继承用户实体类
 * @author pharen
 *
 */
public class EduTeacher extends EduUser {
	
	
	private Set<EduCourse> courseSet;					//教师与科目的关系是多对多
	
	private Set<EduClass> classSet;						//教师与班级的关系是多对多
	
	private String phone;								//教师的手机,可以作为登录的用户名
	
	private EduPost post;								//教师与职位的关系是多对一

	public Set<EduCourse> getCourseSet() {
		return courseSet;
	}

	public void setCourseSet(Set<EduCourse> courseSet) {
		this.courseSet = courseSet;
	}

	public Set<EduClass> getClassSet() {
		return classSet;
	}

	public void setClassSet(Set<EduClass> classSet) {
		this.classSet = classSet;
	}

	public EduPost getPost() {
		return post;
	}

	public void setPost(EduPost post) {
		this.post = post;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	
}
